Amoxicillin works by inhibiting the synthesis of bacterial cell walls. The active component binds to specific penicillin-binding proteins found in bacteria, disrupting the final stages of cell wall development. This action results in the lysis and death of susceptible bacteria, making it effective against a broad spectrum of bacterial pathogens, including both Gram-positive and Gram-negative organisms.